package com.atguigu.mybatis.mapper;

import com.atguigu.mybatis.entity.Banana;
import com.atguigu.mybatis.entity.Monkey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : zzf
 * @date : 2020/12/29
 */


public interface MonkeyMapper {
    Monkey selectMonkey(Integer monkeyId);

    Banana selectBanana(Integer bananaId);

    Monkey selectMonkeySecond(Integer monkeyId);

    void batchInsertBanana(List<Banana> list);

    void updateBananaBatch(@Param("list") List<Banana> list);
}
